<div class="modal fade" id="modifyOnceModal" tabindex="-1" aria-hidden="true">
  <div class="modal-dialog modal-lg modal-dialog-centered">
    <form id="modify-once-form" class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">修改本次排课</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
      </div>
      <div class="modal-body">
        <!-- 课程名、学校、年级、住址、学费、日期、时间、备注 -->
        <input type="hidden" name="student_name" id="modify-once-student" />
        <div class="row g-3">
          <div class="col-md-6">
            <label>课程名</label>
            <select name="course" class="form-select" required></select>
          </div>
          <div class="col-md-6">
            <label>学校</label>
            <select name="school" class="form-select" required></select>
          </div>
          <div class="col-md-6">
            <label>年级</label>
            <select name="grade" class="form-select" required></select>
          </div>
          <div class="col-md-6">
            <label>家庭住址</label>
            <input name="address" type="text" class="form-control" required>
          </div>
          <div class="col-md-4">
            <label>每节学费</label>
            <input name="fee" type="number" step="0.01" class="form-control" required>
          </div>
          <div class="col-md-4">
            <label>日期</label>
            <input name="one_date" type="date" class="form-control" required>
          </div>
          <div class="col-md-2">
            <label>开始</label>
            <input name="start_time" type="time" class="form-control" required>
          </div>
          <div class="col-md-2">
            <label>结束</label>
            <input name="end_time" type="time" class="form-control" required>
          </div>
          <div class="col-12">
            <label>备注</label>
            <textarea name="remark" class="form-control"></textarea>
          </div>
        </div>
      </div>
      <div class="modal-footer">
        <span id="modifyOnceError" class="text-danger me-auto" style="display:none;"></span>
        <button type="submit" class="btn btn-primary">保存</button>
        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
      </div>
    </form>
  </div>
</div>
